{{include file='layout/api.header.tpl' total={{$data.list_count->_count}}
}}{{$first=1}}{{foreach $data.list as $v}}{{if !$first}},{{/if}}{{$first=0}}{"val":"{{$v->post_id}}","label":"{{$v->name}}"}{{/foreach
}}{{include file='layout/api.footer.tpl'}}